import axios from '@/libs/api.request.js'

export const updateStatusForUser = data => {
    return axios.request({
        method:'post',
        data:data,
        url:'user/updateStatusForUser'
    });
};

export const getUserImageList = data => {
    return axios.request({
        method:'get',
        data:null,
        url:`user/getUserImageList/${data.userId}`
    });
};

export const removeUserImage = data => {
    return axios.request({
        method:'get',
        data:null,
        url:`user/removeUserImage/${data.id}`
    });
};
